<html xmlns:th="http://www.thymeleaf.org"
	xmlns:tiles="http://www.thymeleaf.org">
<head>
<title tiles:fragment="title">Messages : test</title>
<link href="../resources/xxx.css" rel="stylesheet"></link>

</head>
<body>
	<div tiles:fragment="content">
		<h1>Inbox</h1>
		<table class="table table-bordered table-striped">
			<thead>
				<tr>
					<th>Created</th>
					<th>Summary</th>
					<th>Delete</th>
				</tr>
			</thead>
			<tbody>
				<tr th:if="${userDetails!=null}">
					<td colspan="3">No messages</td>
				</tr>
				<tr th:each="grantedAuthority : ${userDetails.authorities}">
					<td>July 11, 2012 2:17:16 PM CDT</td>
					<td><a href="view.html"
						th:text="${grantedAuthority.authority}">The summary</a></td>
					<td><input type="submit" value="Delete" /></td>
				</tr>
			</tbody>
		</table>
	</div>
</body>
</html>